package org.balabala.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.balabala.user.entity.UserEntity;
import org.balabala.user.utils.PageUtils;
import org.balabala.user.utils.Resp;


import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author hanshanxi
 * @email 3176988793@qq.com
 * @date 2021-09-04 09:31:52
 */
public interface UserService extends IService<UserEntity> {

    PageUtils queryPage(Map<String, Object> params);

    Resp login(UserEntity userEntity);

    Resp register(UserEntity userEntity);

    List<UserEntity> selectListByUids(List<Long> ids);

    UserEntity selectByUid(Long uid);


    PageUtils selectByKeyword(HashMap<String, Object> hashMap);

    boolean banByIds(Long[] asList,Integer state);
}

